package com.javabasestage2.shuzu.Array;

public class HomeWork02 {
    public static void main(String[] args) {
        String foo ="blue";
        boolean[] bar = new boolean[2]; //bar[0] ， bar[1]默认为false
        if (bar[0]){
            foo="green";
        }
        System.out.println(foo);
    }
}
